class Wizard():
    def __init__(self, src, root_dir):
        self.choices = []
        self.root_dir = root_dir
        self.src = src

    def preferences(self, command):
        self.choices.append(command)

    def execute(self):
        for choice in self.choices:
            if list(choice.values())[0]:
                print ('copying binaries --', self.src, 'to', self.root_dir)
            else:
                print ('no operation')


if __name__ == '__main__':
    wizard = Wizard('py3', 'user/bin')

    wizard.preferences({'python':True})
    wizard.preferences({'java': False})
    wizard.execute()